<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>成绩</title>
</head>
<body>
    <script>
        let score = Number.parseInt(prompt("请输入语文考试成绩"));
        if(score>=1 && score<=100){
            if(score >= 90){
                alert('优秀')
            }else if(score >= 80){
                alert('良好');
            }else if(score >= 60){
                alert('及格');
            }else{
                alert('不及格');
            }
        }else{
            alert("分数输入异常")
        }
    </script>
</body>
</html>